package com.atguigu.daijia.driver.minio;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component//注入component注解，才能引入nacos的配置
@ConfigurationProperties(prefix = "minio")
@Data
public class MinioProperties {

    private String endpointUrl;

    private String accessKey;

    private String secretKey;

    private String bucketName;
}
